package com.jr.service.Impl;

import com.jr.entry.Flight_ticket;
import com.jr.mapper.TicketMapper;
import com.jr.service.TicketService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class TicketServiceImpl implements TicketService {
    @Autowired(required = false)
    private TicketMapper ticketMapper;

    @Override
    public ArrayList<Flight_ticket> select(Flight_ticket flight_ticket) {
        return ticketMapper.select(flight_ticket);
    }
}
